package com.example.demo.service;

import com.example.demo.po.Order;

import java.util.List;

public interface OrderService {
    Order getById(Long id);

    List<Order> getByUserId(Long userId);

    List<Order> getAll();

    boolean create(Order order);

    boolean update(Order order);

    boolean deleteById(Long id);
}